﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ThanhTu.GNCMedia.KQXS.DataAccess.DAL;

namespace WebUI
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Response.Write("");
            try
            {
                //ResultLotteryDAL resultDaL = new ResultLotteryDAL();
                ThanhTu.GNCMedia.KQXS.DataAccess.BL.ResultLotteryBL vResultLotteryBL = new ThanhTu.GNCMedia.KQXS.DataAccess.BL.ResultLotteryBL();
                int rowCount = 0;
                Repeater.DataSource = vResultLotteryBL.SelectAll_KQ_User(1, 10, ref rowCount);
                Repeater.DataBind();
            }
            catch (Exception ex)
            {
                Response.Write(
                   "Default: "+ ex.Message);
            }
        }
    }
}